package com.ruoyi.ufox.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据日统计对象 bis_device_data_day
 * 
 * @author ufoxs
 * @date 2022-08-17
 */
public class BisDeviceDataDay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long recordId;

    /** 设备ID */
    private Long deviceId;

    /** 日期 */
    private Date date;

    /** 小时 */
    @Excel(name = "小时")
    private Long hour;

    /** 温度 */
    @Excel(name = "温度")
    private BigDecimal temperature;

    /** 湿度 */
    private BigDecimal humidity;

    /** 光强 */
    private BigDecimal lightIntensity;

    /** 生长灯亮度 */
    private Long lighterValue;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setHour(Long hour)
    {
        this.hour = hour;
    }

    public Long getHour()
    {
        return hour;
    }
    public void setTemperature(BigDecimal temperature) 
    {
        this.temperature = temperature;
    }

    public BigDecimal getTemperature() 
    {
        return temperature;
    }
    public void setHumidity(BigDecimal humidity) 
    {
        this.humidity = humidity;
    }

    public BigDecimal getHumidity() 
    {
        return humidity;
    }
    public void setLightIntensity(BigDecimal lightIntensity) 
    {
        this.lightIntensity = lightIntensity;
    }

    public BigDecimal getLightIntensity() 
    {
        return lightIntensity;
    }
    public void setLighterValue(Long lighterValue) 
    {
        this.lighterValue = lighterValue;
    }

    public Long getLighterValue() 
    {
        return lighterValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("deviceId", getDeviceId())
            .append("date", getDate())
            .append("hour", getHour())
            .append("temperature", getTemperature())
            .append("humidity", getHumidity())
            .append("lightIntensity", getLightIntensity())
            .append("lighterValue", getLighterValue())
            .append("remark", getRemark())
            .toString();
    }
}
